package net.inteidee.handler;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.PersistenceUnit;

public class JPAUtil {
	

	private static EntityManagerFactory entityManagerFactory;

	  

	  public static EntityManagerFactory getEntityManagerFActory()
	  {
		  
		 if(entityManagerFactory ==null)
			 entityManagerFactory =  Persistence.createEntityManagerFactory("Jaas");
		 
			 return entityManagerFactory;
		 
	  }

}
